<?php
/**
 * 检查微信小程序是否登录
 */

namespace app\http\middleware;
use app\index\controller\applets\AppletsBase;

class AppletAuth {
    public function handle($request, \Closure $next) {
        /*$base=new AppletsBase();
        $userInfo=$base->getUser();
        if(!$userInfo){
            return $base->return_err(['code'=>1001,'msg'=>'对不起您还没有登录']);
        }
        return $next($request);*/
    }
}